home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / hypercar / xcmd / scrollb.cpt / ScrollBar Stack v2.0 / stack_-1.xml < prev    next >
Encoding:
Extensible Markup Language  |  1992-10-18  |  2.4 KB  |  27 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
  3. <stack>
  4.     <name>in.0</name>
  5.     <id>-1</id>
  6.     <cardCount>6</cardCount>
  7.     <cardID>2897</cardID>
  8.     <listID>3317</listID>
  9.     <cantModify><true /></cantModify>
  10.     <cantDelete><true /></cantDelete>
  11.     <cantAbort><false /></cantAbort>
  12.     <cardSize>
  13.         <width>512</width>
  14.         <height>342</height>
  15.     </cardSize>
  16.     <script>on lockit
  17. global lockInit
  18. put true into lockInit
  19. end lockit
  20.  
  21. on unlockit
  22. global lockInit
  23. put false into lockInit
  24. end unlockit
  25.  
  26. on openStack
  27. global menuVis, lockInit, origUserModify
  28. if the loc of the cd window is "0,0" then
  29. hide menuBar
  30. put false into menuVis
  31. else
  32. show menuBar
  33. put true into menuVis
  34. end if
  35. put false into lockInit
  36. put the userModify into origUserModify
  37. set the userModify to true
  38. show groups
  39. end openStack
  40.  
  41. on closeStack
  42. global menuVis, origUserModify
  43. if not menuVis then show menuBar
  44. set the userModify to origUserModify
  45. end closeStack
  46.  
  47. on suspendStack
  48. global menuVis, origUserModify
  49. if not menuVis then show menuBar
  50. set the userModify to origUserModify
  51. end suspendStack
  52.  
  53. on resumeStack
  54. global menuVis, origUserModify
  55. if not menuVis then hide menuBar
  56. set the userModify to true
  57. show groups
  58. end resumeStack
  59.  
  60. on arrowKey which
  61. if which is "left" then goPrev
  62. else if which is "right" then goNext
  63. else pass arrowKey
  64. end arrowKey
  65.  
  66. on goNext
  67. visual effect wipe left slow
  68. go next
  69. end goNext
  70.  
  71. on goPrev
  72. visual effect wipe right slow
  73. go prev
  74. end goPrev
  75.  
  76. on idle
  77. global menuVis
  78.  
  79. if the loc of the card window is "0,0" then
  80. if menuVis then
  81. if the mouseV > 20 then
  82. hide menuBar
  83. put false into menuVis
  84. end if
  85. else
  86. if the mouseV <= 20 then
  87. show menuBar
  88. put true into menuVis
  89. end if
  90. end if
  91. else
  92. if not menuVis then
  93. show menuBar
  94. put true into menuVis
  95. end if
  96. end if
  97. end idle</script>
  98.     <background id="2067" file="background_2067.xml" name="" />
  99.     <background id="2657" file="background_2657.xml" name="" />
  100.     <background id="6693" file="background_6693.xml" name="" />
  101.     <card id="2897" file="card_2897.xml" marked="false" name="" owner="2657" />
  102.     <card id="4363" file="card_4363.xml" marked="false" name="" owner="2067" />
  103.     <card id="8553" file="card_8553.xml" marked="false" name="" owner="6693" />
  104.     <card id="8423" file="card_8423.xml" marked="false" name="" owner="6693" />
  105.     <card id="3629" file="card_3629.xml" marked="false" name="" owner="6693" />
  106.     <card id="6997" file="card_6997.xml" marked="false" name="" owner="6693" />
  107. </stack>
  108.